import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

Vue.directive('myUtil', {
    bind(el, binding) {
        console.log("全局事件")
        console.log(el)
        el.style.color = binding.value;
    },
    update(el, binding) {
        el.style.color = binding.value;
    }
})

new Vue({
    render: h => h(App),
}).$mount('#app')